/**
* Copyright (c) 2016-2100 yunclouds
*/
package com.yunqian.redot.domain.view;

import com.yunqian.model.BaseModel;
import com.yunqian.redot.constant.Tables;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author czy
 * 2018-10-09 10:56:37
 */
@Data
@Entity
@Table(name = Tables.INFORMATION_WORDS_DETAILS)
@EqualsAndHashCode(callSuper = false)
public class InformationWordsDetails extends BaseModel<Long>{
    
    /**状态*/
    @Column(name = "status")
    private Integer status;
    /**备注*/
    @Column(name = "remark")
    private String remark;
    /**排序号*/
    @Column(name = "sort_num")
    private Integer sortNum;
    /**留言内容文字*/
    @Column(name = "description")
    private String description;
    /**发布人*/
    @Column(name = "customer_id")
    private Long customerId;
    /**关联咨询id*/
    @Column(name = "information_id")
    private Long informationId;
    /**是否精选 1是2否*/
    @Column(name = "as_brilliant")
    private Integer asBrilliant;
    /**咨讯标题*/
    @Column(name = "title")
    private String title;
    /**姓名*/
    @Column(name = "name")
    private String name;
    /**用户头像*/
    @Column(name = "avatar_url")
    private String avatarUrl;
    /**电话*/
    @Column(name = "phone")
    private String phone;

    public InformationWordsDetails() {
    }

}
